<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="css/iconfont.css">
    <style>
        *{
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        body{
            background-color: white;
            display: flex;
            min-height: 100%;
            flex-direction: column;
        }
        html{
            height: 100%;
        }
        .header{
            width: 100%;
            height: 50px;
            background-color: aqua;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .main{
            display: flex;
             flex: 1;
        }
        .left{
            width: 100px;
            background-color: aquamarine;
        }
        .right{
            flex: 1;
            background-color: plum;
        }
        .footer{
            width: 100%;
            height: 60px;
            background-color: aliceblue;
            display: flex;
            justify-content: space-around;
            align-items: center;
        }
        .f1{
            width: 25%;
            /* height: 100%; */
            /* background-color: pink; */
        }
        .f11{
            display: flex;
            flex-direction: column;
            align-items: center;
        }
    </style>
</head>
<body>
    <div class="header">header</div>
    <div class="main">
        <div class="left">left</div>
        <div class="right">right</div>
    </div>
    <div class="footer">
         <div class="f1">
             <div class="f11">
                <i class="iconfont icon-home"></i>
                <span>首页</span>
             </div>
         </div>
         <div class="f1">
            <div class="f11">
                   <i class="iconfont icon-category"></i>
            <span>分类页</span> 
            </div>
         
         </div>
         <div class="f1">
            <div class="f11">
                <i class="iconfont icon-cart"></i>
            <span>购物车</span>
            </div>
            
         </div>
         <div class="f1">
            <div class="f11">
                  <i class="iconfont icon-personal"></i>
            <span>个人中心</span>
            </div>
          
         </div>
    </div>
</body>
</html>